<?php
/**************************************************
* PluginLotto.com                                 *
* Copyrights (c) 2005-2010. iZAP                  *
* All rights reserved                             *
***************************************************
* @author iZAP Team "<support@izap.in>"
* @link http://www.izap.in/
* @version {version} $Revision: {revision}
* Under this agreement, No one has rights to sell this script further.
* For more information. Contact "Tarun Jangra<tarun@izap.in>"
* For discussion about corresponding plugins, visit http://www.pluginlotto.com/pg/forums/
* Follow us on http://facebook.com/PluginLotto and http://twitter.com/PluginLotto
 */

$plugin = $vars['entity'];

$label = elgg_echo('izap_poll:allow_user_to_all_poll');
$input = elgg_view('input/pulldown', array(
  'internalname' => 'params[allow_user_to_add_poll]',
  'value' => $plugin->allow_user_to_add_poll,
  'options_values' => array(
    'no' => elgg_echo('izap_poll:no'),
    'yes' => elgg_echo('izap_poll:yes'),
  ),
));
?>
<p>
  <label>
    <?php echo $label;?>
    <br />
    <?php echo $input;?>
  </label>
</p>